<?php
$this->breadcrumbs=array(
	'Censors'=>array('index'),
	$model->_id,
);

$user = Yii::app()->user;
$this->menu = array(
	array(
		'label'=>'List Censor',
		'url'=>array('index'),
		'visible'=>$user->checkAccess('censorList'),
	),
	array(
		'label'=>'Create Censor',
		'url'=>array('create'),
		'visible'=>$user->checkAccess('censorCreate'),
	),
	array(
		'label'=>'Update Censor',
		'url'=>array('update', 'id'=>$model->_id),
		'visible'=>$user->checkAccess('censorUpdate'),
	),
	array(
		'label'=>'Delete Censor',
		'url'=>'#',
		'linkOptions'=>array(
			'submit'=>array(
				'delete',
				'id'=>$model->_id),
			'confirm'=>'Are you sure you want to delete this item?'
		),
		'visible'=>$user->checkAccess('censorDelete'),
	),
	array(
		'label'=>'Manage Censor',
		'url'=>array('admin'),
		'visible'=>$user->checkAccess('censorManage'),
	),
);
?>

<h1>View Censor #<?php echo $model->_id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'search',
		'replace',
	),
)); ?>
